package appinventor.ai_Ryan489.BBYM;

import android.app.Activity;
import android.content.Intent;

import android.os.Bundle;
import android.view.View;

import android.widget.Button;




public class SecondTab extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		

		/* Second Tab Content */
		setContentView(R.layout.coveragetab);
		  Button sprintcov = (Button) findViewById(R.id.buttoncoveragesprint);
	      sprintcov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, SprintCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button attcov = (Button) findViewById(R.id.buttoncoverageatt);
	      attcov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, AttCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button tmocov = (Button) findViewById(R.id.buttoncoveragetmo);
	      tmocov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, TmoCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button vzwcov = (Button) findViewById(R.id.buttoncoveragevzw);
	      vzwcov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, VzwCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button vmocov = (Button) findViewById(R.id.buttonvmo);
	      vmocov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, VmoCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button metrocov = (Button) findViewById(R.id.buttonmetro);
	      metrocov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, metroCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button usccov = (Button) findViewById(R.id.buttonusc);
	      usccov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, uscCoverage.class);
	         startActivity(i);
	         } 
	      });
	      Button cricketcov = (Button) findViewById(R.id.buttoncricket);
	      cricketcov.setOnClickListener(new View.OnClickListener() {
	         public void onClick(View arg0) {
	         Intent i = new Intent(SecondTab.this, cricketCov.class);
	         startActivity(i);
	         } 
	      });
	}
}